home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 8 / Mac Magazin and MacEasy Magazine CD - Issue 08.iso / Sharewarebibliothek / Updater⁄Infos / Frontier 2.0 => 2.0.1 Upgrader / Install Files / DocServer Docs / msg < prev    next >
Text File  |  1993-02-25  |  1KB  |  28 lines

  1.  
  2. Verb    msg
  3. Syntax    msg (string)
  4. Parameters    string is a string of characters to be displayed.
  5. Action    Displays string in Frontier’s Main Window.
  6. Returns    True
  7. Examples    msg ("Hello, World!")
  8.     » true 
  9. “Hello, World!” is displayed in the Main Window.
  10.  
  11. msg (foo)
  12. Error message is generated because “foo” has not been defined.
  13.  
  14. foo = "This one will work"; 
  15. msg (foo)
  16.     » true
  17. “This one will work” is displayed in the Main Window.
  18.  
  19. msg ('a')
  20.     » true
  21. Frontier coerces the character parameter to a one-character string.
  22.  
  23. msg ("")
  24. No message is displayed, but subsequent msg calls made by agents will now be accepted. See Notes.
  25. Notes    • msg is an important Frontier verb; you use it frequently to communicate information to the user of your Frontier applications.
  26. • The output from the msg verb is always displayed in Frontier’s Main Window.
  27. • Messages created by agents are “blocked” by messages created by other scripts until the user clicks in the Main Window. A script can “unblock” the message area by calling msg with the empty string.
  28.